package com.cn.integration.business.paycenter.strategy.impl;

import com.cn.common.enums.PayChannelCodeEnum;
import com.cn.integration.business.paycenter.bo.OpenAccountBo;
import com.cn.integration.business.paycenter.strategy.PayService;
import com.cn.integration.business.paycenter.vo.OpenAccountVo;
import org.springframework.stereotype.Service;

/**
 * 平安银行
 */
@Service
public class PingAnPayServiceImpl implements PayService {

    private final String payChannelCode = PayChannelCodeEnum.PINGAN.getCode();

    @Override
    public String getPayChannelCode() {
        return payChannelCode;
    }

    @Override
    public OpenAccountVo openAccount(OpenAccountBo bo) {
        OpenAccountVo openAccountVo = new OpenAccountVo();
        openAccountVo.setAccount("平安account");
        openAccountVo.setAccountCode("平安code");
        return openAccountVo;
    }

}
